package com.lh0811.forge.pserv.uacs.server.repository.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * 开发平台-岗位数据权限规则
 *
 * @author
 * @email
 * @date 2024-05-28 17:25:15
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@TableName("pserv_uacs_tenant_post_data_rule_ref")
public class UacsTenantPostDataRuleRef implements Serializable {

    @TableId(type = IdType.NONE)
    @Schema(description = "主键")
    private Long id;
    @Schema(description = "租户id")
    private Long tenantId;
    @Schema(description = "租户no")
    private String tenantNo;
    @Schema(description = "租户名称")
    private String tenantName;
    @Schema(description = "组织机构id")
    private Long departmentId;
    @Schema(description = "组织机构编号")
    private String departmentNo;
    @Schema(description = "组织机构名称")
    private String departmentName;
    @Schema(description = "租户岗位id")
    private Long postId;
    @Schema(description = "租户岗位编号")
    private String postNo;
    @Schema(description = "租户岗位名称")
    private String postName;
    @Schema(description = "数据规则id")
    private Long dataRuleId;
    @Schema(description = "创建时间")
    private Date createTime;
    @Schema(description = "创建人")
    private Long createBy;
    @Schema(description = "更新时间")
    private Date updateTime;
    @Schema(description = "更新人")
    private Long updateBy;
    @Schema(description = "拓展信息")
    private String extInfo;

}
